home *** CD-ROM | disk | FTP | other *** search
/ Software Vault: The Gold Collection / Software Vault - The Gold Collection (American Databankers) (1993).ISO / cdr38 / dosutl.zip / FMT.BAT < prev    next >
DOS Batch File  |  1993-06-01  |  301b  |  17 lines

  1. @echo off
  2. if "%1"=="x" goto noformcmd
  3. if "%1"=="X" goto noformcmd
  4. format %1 %FORMCMD% %2 %3 %4 %5 %6 %7 %8 %9
  5. if errorlevel 1 goto error
  6. goto end
  7. :noformcmd
  8. shift
  9. format %1 %2 %3 %4 %5 %6 %7 %8 %9
  10. if errorlevel 1 goto error
  11. goto end
  12. :error
  13. echo The disk could not be formatted!
  14. :end
  15.  
  16.  
  17.